home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 4 / Eagles_Nest_Mac_Collection_Disc_4.TOAST / Spreadsheets & Statistics / WingZ11a#2 / Miscellaneous / WZScript.scp < prev    next >
Text File  |  1989-12-21  |  19KB  |  511 lines

  1. if DG:findtype
  2.     exit script
  3. end if
  4.  
  5. repaint off
  6.  
  7. date 1 "d-mon-yy"
  8. date 2 "d-mon"
  9. date 3 "mon-yy"
  10. date 4 "mm-dd-yy"
  11. date 5 "mm-dd"
  12.  
  13. time 1 "hr:mn:scam"
  14. time 2 "hr:mnam"
  15. time 3 "hh:mn:sc"
  16. time 4 "hh:mn"
  17.  
  18. add menubar "main" with 39 menus
  19.  
  20. add submenu "edit paste special" with 7 items
  21.     add menuitem "Values" command "paste values"
  22.     add menuitem "Format" command "paste format"
  23.     add menu separator
  24.     add menuitem "Add" command "paste add"
  25.     add menuitem "Subtract" command "paste subtract"
  26.     add menuitem "Multiply" command "paste multiply"
  27.     add menuitem "Divide" command "paste divide"
  28.  
  29. add submenu "edit clear special" with 3 items
  30.     add menuitem "Format" command "remove format"
  31.     add menuitem "Formula" command "remove formula"
  32.     add menuitem "Data" command "remove data"
  33.  
  34. add submenu "go recalc" with 8 items
  35.     add menuitem "Manual Recalc"        type 16
  36.     add menuitem "Automatic Recalc"    type 17
  37.     add menu separator
  38.     add menuitem "Natural Recalc"        type 18
  39.     add menuitem "Row Recalc"            type 20
  40.     add menuitem "Column Recalc"        type 19
  41.     add menu separator
  42.     add menuitem "Iteration..."        type 201 command "@call DG:DGIteration()"
  43.  
  44. add name submenu "go name" command "select range ""*"""
  45.  
  46. add submenu "go select" command "select *" with 26 items
  47.     add menuitem "Notes"
  48.     add menuitem "Fields"
  49.     add menuitem "Controls"
  50.     add menuitem "Graphics"
  51.     add menu separator
  52.     add menuitem "Text Cells"
  53.     add menuitem "Value Cells"
  54.     add menuitem "Formula Cells"
  55.     add menuitem "Error Cells"
  56.     add menuitem "Locked Cells"
  57.     add menuitem "Blank Cells"
  58.     add menuitem "Heading"
  59.     add menu separator
  60.     add menuitem "All Precedents"
  61.     add menuitem "All Dependents"
  62.     add menuitem "Direct Precedents"
  63.     add menuitem "Direct Dependents"
  64.     add menuitem "References to Blanks"
  65.     add menuitem "Unreferenced Cells"
  66.     add menu separator
  67.     add menuitem "Current Cell"
  68.     add menuitem "Last Cell"
  69.     add menuitem "Active Cells"
  70.     add menu separator
  71.     add menuitem "Report Header"
  72.     add menuitem "Report Footer"
  73.     add menuitem "Report Border"
  74.  
  75. add submenu "go create names" command "create names *" with 2 items
  76.     add menuitem "Top Row"
  77.     add menuitem "Left Column"
  78.  
  79. add name submenu "go remove name" command "remove name ""*"""
  80.  
  81. add submenu "format number" command "format *" with 14 items
  82.     add menuitem "Fixed"            type 23
  83.     add menuitem "Currency"     type 24
  84.     add menuitem "Percent"         type 25
  85.     add menuitem "Scientific"    type 26
  86.     add menuitem "General"        type 22
  87.     add menuitem "D-Mon-YY"        type 27 command "format date 1"
  88.     add menuitem "D-Mon"            type 28 command "format date 2"
  89.     add menuitem "Mon-YY"        type 29 command "format date 3"
  90.     add menuitem "MM-DD-YY"        type 30 command "format date 4"
  91.     add menuitem "MM-DD"         type 31 command "format date 5"
  92.     add menuitem "HR:MN:SC AM"    type 32 command "format time 1"
  93.     add menuitem "HR:MN AM"        type 33 command "format time 2"
  94.     add menuitem "HH:MN:SC"        type 34 command "format time 3"
  95.     add menuitem "HH:MN"            type 35 command "format time 4"
  96.     add menuitem "Custom..."    type 199 command "@call DG:DGCustom()"
  97.  
  98. add submenu "format attribute" with 4 items
  99.     add menuitem "Hide Zero"    type 36 command "hide zeroes", "show zeroes"
  100.     add menuitem "Commas"        type 37 command "use commas", "no commas"
  101.     add menuitem "Parenthesis"    type 38 command "use parenthesis", "no parenthesis"
  102.     add menuitem "Hidden"        type 39 command "hide cells", "show cells"
  103.  
  104. add submenu "format neg" command "negative text color *()" with 9 items
  105.     add menuitem "Red"        type 41
  106.     add menuitem "Green"        type 42
  107.     add menuitem "Blue"        type 43
  108.     add menuitem "Cyan"        type 44
  109.     add menuitem "Magenta"    type 45
  110.     add menuitem "Yellow"    type 46
  111.     add menuitem "Black"        type 47
  112.     add menuitem "White"        type 48
  113.     add menuitem "Other..." type 49 command "@call DG:DGTextColor(""negative "")"
  114.  
  115. add font submenu "format font" command "text font ""*"""
  116.  
  117. add submenu "format size" command "text size *" with 10 items
  118.     add menuitem "9"             type 51
  119.     add menuitem "10"         type 51
  120.     add menuitem "12"         type 51
  121.     add menuitem "14"         type 51
  122.     add menuitem "18"         type 51
  123.     add menuitem "24"         type 51
  124.     add menuitem "36"         type 51
  125.     add menuitem "48"         type 51
  126.     add menuitem "72"         type 51
  127.     add menuitem "Other..."    type 52 command "@call DG:DGTextSize()"
  128.  
  129. add submenu "format style" with 6 items
  130.     add menuitem "Plain"            type 53 command "text style ""biuos"""
  131.     add menuitem "Bold"            type 54 key "B" command "text style ""B""", "text style ""b"""
  132.     menuitem text style "B"
  133.     add menuitem "Italic"         type 55 command "text style ""I""", "text style ""i"""
  134.     menuitem text style "I"
  135.     add menuitem "Underline"    type 56 key "U" command "text style ""U""", "text style ""u"""
  136.     menuitem text style "U"
  137.     add menuitem "Outline"        type 57 command "text style ""O""", "text style ""o"""
  138.     menuitem text style "O"
  139.     add menuitem "Shadow"        type 58 command "text style ""S""", "text style ""s"""
  140.     menuitem text style "S"
  141.  
  142. add submenu "format color" command "text color *()" with 9 items
  143.     add menuitem "Red"         type 59
  144.     add menuitem "Green"        type 60
  145.     add menuitem "Blue"        type 61
  146.     add menuitem "Cyan"        type 62
  147.     add menuitem "Magenta"    type 63
  148.     add menuitem "Yellow"    type 64
  149.     add menuitem "Black"        type 65
  150.     add menuitem "White"        type 66
  151.     add menuitem "Other..." type 67 command "@call DG:DGTextColor("""")"
  152.  
  153. add submenu "format align" command "Align *" with 4 items
  154.     add menuitem "General"    type 69
  155.     add menuitem "Left"        type 70
  156.     add menuitem "Center"    type 71
  157.     add menuitem "Right"        type 72
  158.  
  159. add submenu "sheet report" with 16 items
  160.     add menuitem "Report Print Range"
  161.     add menu separator
  162.     add menuitem "Add Page Break"
  163.     add menuitem "Remove Page Break"
  164.     add menuitem "Remove All Page Breaks"
  165.     add menu separator
  166.     add menuitem "Report Header Left"    type 77
  167.     add menuitem "Report Header Center"    type 78
  168.     add menuitem "Report Header Right"    type 79
  169.     add menuitem "Hide Report Header"    type 80
  170.     add menuitem "Report Header Range"
  171.     add menu separator
  172.     add menuitem "Report Footer Left"    type 81
  173.     add menuitem "Report Footer Center"    type 82
  174.     add menuitem "Report Footer Right"    type 83
  175.     add menuitem "Hide Report Footer"    type 84
  176.     add menuitem "Report Footer Range"
  177.  
  178. add submenu "sheet sort" with 8 items
  179.     add menuitem "Sort Now"
  180.     add menu separator
  181.     add menuitem "Sort Range"            type 10
  182.     add menuitem "Ascending Key"        type 13
  183.     add menuitem "Descending Key"     type 13
  184.     add menu separator
  185.     add menuitem "Add Ascending Key"     type 13
  186.     add menuitem "Add Descending Key"     type 13
  187.  
  188. add submenu "sheet table" with 5 items
  189.     add menuitem "Recalc Table"
  190.     add menu separator
  191.     add menuitem "Table Range"        type 10
  192.     add menuitem "Input Cell 1"    type 10
  193.     add menuitem "Input Cell 2"    type 10
  194.  
  195. add submenu "sheet distribution" with 4 items
  196.     add menuitem "Distribute"
  197.     add menu separator
  198.     add menuitem "Values Range"    type 10
  199.     add menuitem "Bin Range"        type 10
  200.  
  201. add submenu "sheet database" with 6 items
  202.     add menuitem "Find" command "Data Find"
  203.     add menuitem "Extract" command "Data Extract"
  204.     add menuitem "Delete" command "Data Delete"
  205.     add menu separator
  206.     add menuitem "Data Range"        type 10
  207.     add menuitem "Criteria Range" type 10
  208.  
  209. add submenu "sheet matrix" with 8 items
  210.     add menuitem "Transpose"    type 10
  211.     add menuitem "Invert"        type 179
  212.     add menu separator
  213.     add menuitem "Regress"        type 181
  214.     add menuitem "N-Solve"        type 179
  215.     add menuitem "Determinant"    type 179
  216.     add menu separator
  217.     add menuitem "Multiply"        type 180
  218.  
  219. add submenu "sheet protection" with 7 items
  220.     add menuitem "Protect Cells"            type 85
  221.     add menuitem "Unprotect Cells"        type 86
  222.     add menu separator
  223.     add menuitem "Enable Protection"        type 87
  224.     add menuitem "Disable Protection"    type 88
  225.     add menu separator
  226.     add menuitem "Password..."             type 7 command "@call DG:DGPassword()"
  227.  
  228. add submenu "Gallery" with 23 items
  229.     add menuitem "Bar"                    type 111    command "Vertical Bar"
  230.     add menuitem "Line"                    type 112
  231.     add menuitem "Layer"                    type 113
  232.     add menuitem "Step"                    type 114
  233.     add menuitem "Combination"            type 115
  234.     add menu separator
  235.     add menuitem "3D Bar"                type 116
  236.     add menuitem "3D Line"                type 117
  237.     add menuitem "3D Layer"                type 118
  238.     add menuitem "3D Step"                type 119
  239.     add menuitem "3D Combination"        type 120
  240.     add menu separator
  241.     add menuitem "Horizontal Bar"        type 121
  242.     add menuitem "Pie"                    type 122
  243.     add menuitem "3D Pie"                type 123
  244.     add menuitem "HiLo"                    type 124
  245.     add menu separator
  246.     add menuitem "XY"                        type 125
  247.     add menuitem "Scatter"                type 126
  248.     add menuitem "Polar"                    type 127
  249.     add menuitem "Contour"                type 129
  250.     add menuitem "Surface"                type 130
  251.     add menuitem "Wireframe"            type 128
  252.  
  253. add submenu "Title" with 6 items
  254.     add menuitem "Title Left"            type 132
  255.     add menuitem "Title Center"        type 133
  256.     add menuitem "Title Right"            type 134
  257.     add menuitem "Hide Title"            type 135
  258.     add menu separator
  259.     add menuitem "Title Range"            type 136
  260.  
  261. add submenu "Footnote" with 6 items
  262.     add menuitem "Footnote Left"        type 137
  263.     add menuitem "Footnote Center"    type 138
  264.     add menuitem "Footnote Right"        type 139
  265.     add menuitem "Hide Footnote"        type 140
  266.     add menu separator
  267.     add menuitem "Footnote Range"        type 236
  268.  
  269. add submenu "Legend" with 5 items
  270.     add menuitem "Legend Left"        type 141
  271.     add menuitem "Legend Right"    type 142
  272.     add menuitem "Legend Bottom"    type 143
  273.     add menuitem "Legend Top"        type 144
  274.     add menuitem "Hide Legend"        type 145
  275.  
  276. add submenu "Axes" with 13 items
  277.     add menuitem "Linear Scale"    type 147 command "axis linear scale"
  278.     add menuitem "Percent Scale"    type 148 command "axis percent scale"
  279.     add menuitem "Log Scale"        type 149    command "axis log scale"
  280.     add menuitem "Scale Info..."                        command "@call DG:DGScaleInfo()"
  281.     add menu separator
  282.     add menuitem "Hide Axis"        type 150 command "hide axis", "show axis"
  283.     add menuitem "Axis Line Only"    type 151 command "show axis line", "show axis"
  284.     add menuitem "Major Grids..."                command "@call DG:DGMajGrid()"
  285.     add menuitem "Minor Grids..."                command "@call DG:DGMinGrid()"
  286.     add menu separator
  287.     add menuitem "Title Range"        type 152    command "axis title range"
  288.     add menuitem "Hide Title"        type 153 command "hide axis title", "show axis title"
  289.     add menuitem "Rotate Title"    type 154 command "vertical axis title", "horizontal axis title"
  290.  
  291. add submenu "Series" with 14 items
  292.     add menuitem "Range"                type 156 command "series data range"
  293.     add menu separator
  294.     add menuitem "Hide"                type 157 command "hide series", "show series"
  295.     add menuitem "Smooth"            type 158 command "series smoothing on", "series smoothing off"
  296.     add menuitem "Explode"            type 159 command "series pie offset 50 percent", "series pie offset 0 percent"
  297.     add menuitem "Aux Axis"            type 160 command "series axis 2", "series axis 1"
  298.     add menu separator
  299.     add menuitem "Label..."            type 161    command "@call DG:DGLabel()"
  300.     add menuitem "Symbol..."        type 162    command "@call DG:DGSymbol()"
  301.     add menuitem "Combination..."    type 163    command "@call DG:DGCombo()"
  302.     add menu separator
  303.     add menuitem "Add Series"
  304.     add menuitem "Delete Series"                command "remove series"
  305.     add menuitem "Show All Series"
  306.  
  307. add submenu "General" with 17 items
  308.     add menuitem "Automatic Layout"        type 166 command "Automatic Layout", "Manual Layout"
  309.     add menu separator
  310.     add menuitem "Automatic Stacking"    type 167
  311.     add menuitem "Stack Chart"                type 168
  312.     add menuitem "Unstack Chart"            type 169
  313.     add menu separator
  314.     add menuitem "No Parsing"                 type 170 command "no chart parsing"
  315.     add menuitem "Automatic Parsing"        type 171 command "automatic chart parsing"
  316.     add menuitem "Horizontal Parsing"    type 172 command "horizontal chart parsing"
  317.     add menuitem "Vertical Parsing"        type 173 command "vertical chart parsing"
  318.     add menu separator
  319.     add menuitem "Chart Range"                type 174
  320.     add menuitem "Series Label Range"    type 174
  321.     add menuitem "Division Label Range"    type 225
  322.     add menu separator
  323.     add menuitem "Plot Interior Brush..."    type 175    command "@call dg:DGPlotFill()"
  324.     add menuitem "Plot Interior Pen..."        type 224    command "@call dg:DGPlotLine()"
  325.  
  326. add submenu "Info3D" with 9 items
  327.     add menuitem "View..."                             command "@call dg:DG3DView()"
  328.     add menu separator
  329.     add menuitem "Base Pen..."            type 195 command "@call dg:DGBaseLine()"
  330.     add menuitem "Base Side..."        type 223 command "@call dg:DGBaseSideFill()"
  331.     add menuitem "Base Top..."            type 196 command "@call dg:DGBaseTopFill()"
  332.     add menu separator
  333.     add menuitem "Shadow..."            type 197 command "@call dg:DGShadow()"
  334.     add menu separator
  335.     add menuitem "Surface Pen..."        type 165    command "@call dg:DGSurfaceLine()"
  336.  
  337. add remove-script submenu "remove script" command "remove script ""*"""
  338.  
  339. add submenu "window scale" command "window scale *" with 11 items
  340.     add menuitem "25%" type 93
  341.     add menuitem "33%" type 93
  342.     add menuitem "50%" type 93
  343.     add menuitem "67%" type 93
  344.     add menuitem "75%" type 93
  345.     add menuitem "100%" type 93
  346.     add menuitem "150%" type 93
  347.     add menuitem "200%" type 93
  348.     add menuitem "300%" type 93
  349.     add menuitem "400%" type 93
  350.     add menuitem "Other..." type 188 command "@call DG:DGScale()"
  351.  
  352. add submenu "window show" command "Show *", "Hide *" with 13 items
  353.     add menuitem "Sheet"                type 94
  354.     add menuitem "Titles"             type 95
  355.     add menuitem "Headings"         type 106
  356.     add menuitem "Notes"             type 96
  357.     add menuitem "Fields"             type 97
  358.     add menuitem "Controls"         type 98
  359.     add menuitem "Graphics"         type 99
  360.     add menuitem "Tool Box"         type 100
  361.     add menuitem "Entry Bar"         type 101
  362.     add menuitem "Cell Grid"         type 102
  363.     add menuitem "Title Grid"         type 103
  364.     add menuitem "Heading Grid"    type 104
  365.     add menuitem "Formula Text"    type 105
  366.  
  367. add submenu "window column heading" with 2 items
  368.     add menuitem "A1..B2"        type 107 command "column letters"
  369.     add menuitem "R1C1..R2C2"     type 108 command "column numbers"
  370.  
  371. add menu "File" with 13 items
  372.     add menuitem "New"                     type 201 key "N" command "+New Worksheet """""
  373.     add menuitem "Open..."              type 201 key "O" command "+@Open Dialog"
  374.     add menu separator
  375.     add menuitem "Close"                 type 186 key "W" command "+Close"
  376.     add menuitem "Save"                  type 192 key "S"
  377.     add menuitem "Save As..."          type 193 command "@save dialog"
  378.     add menuitem "Revert to Saved"     type 5
  379.     add menu separator
  380.     add menuitem "Page Setup..."      type 6 command "Page Setup"
  381.     add menuitem "Page Preview..."     type 7 command "Page Preview"
  382.     add menuitem "Print..."             type 6 key "P" command "Print Dialog"
  383.     add menu separator
  384.     add menuitem if(environment()=1,"Quit","Exit") type 201 key "Q" command "+Quit"
  385.  
  386. add menu "Edit" with 16 items
  387.     add menuitem "Cant Undo"        type 8 key "Z" command "undo"
  388.     add menu separator
  389.     add menuitem "Cut"                 type 176 key "X"
  390.     add menuitem "Copy"                type 204 key "C"
  391.     add menuitem "Paste"                type 9 key "V"
  392.     add menuitem "Clear"                type 176
  393.     add menu separator
  394.     add menuitem "Select All"        type 189 key "A"
  395.     if environment() = 1
  396.         add menuitem "Show Clipboard" type 201
  397.     end if
  398.     add menu separator
  399.     add menuitem "Insert"             type 10 key "I"
  400.     add menuitem "Delete"             type 10 key "K"
  401.     add menuitem "Copy Right"         type 11 key "R"
  402.     add menuitem "Copy Down"         type 12 key "D"
  403.     add menu separator
  404.     add menuitem "Paste Special" type 177 submenu "edit paste special"
  405.     add menuitem "Clear Special" type 13 submenu "edit clear special"
  406.  
  407. add menu "Go" with 11 items
  408.     add menuitem "Recalc"                type 178 key "="
  409.     add menuitem "Recalc Info"         type 7 submenu "go recalc"
  410.     add menuitem "Paste Formula..."    type 191 command "@call DG:DGPasteFormula()"
  411.     add menu separator
  412.     add menuitem "Find..."                type 4 key "F" command "@call DG:DGFind()"
  413.     add menuitem "Select"                 type 7 submenu "go select"
  414.     add menuitem "Name"                     type 14 submenu "go name"
  415.     add menu separator
  416.     add menuitem "Define Name..."        type 10 command "@call DG:DGName()"
  417.     add menuitem "Create Names"         type 15 submenu "go create names"
  418.     add menuitem "Remove Name"         type 14 submenu "go remove name"
  419.  
  420. add menu "Format" with 16 items
  421.     add menuitem "Number"                type 21 submenu "format number"
  422.     add menuitem "Attribute"            type 21 submenu "format attribute"
  423.     add menuitem "Negatives"            type 40 submenu "format neg"
  424.     add menuitem "Cell Border..."     type 40 command "@call DG:DGCellBorder()"
  425.     add menuitem "Precision..."        type 21 command "@call DG:DGPrecision()"
  426.     add menu separator
  427.     add menuitem "Font"                    type 50 submenu "format font"
  428.     add menuitem "Size"                    type 50 submenu "format size"
  429.     add menuitem "Style"                    type 50 submenu "format style"
  430.     add menuitem "Color"                    type 50 submenu "format color"
  431.     add menuitem "Align"                    type 68 submenu "format align"
  432.     add menu separator
  433.     add menuitem "Fill..."                type 73 command "@call DG:DGFill()"
  434.     add menuitem "Line..."                type 74 command "@call DG:DGLine()"
  435.     add menuitem "Border..."            type 75 command "@call DG:DGBorder()"
  436.     add menu separator
  437.     add menuitem "a"                        type 76 command "@call DG:DGObjectInfo()"
  438.  
  439. add menu "Sheet" with 9 items
  440.     add menuitem "Report"             type 7 submenu "sheet report"
  441.     add menuitem "Protection"         type 7 submenu "sheet protection"
  442.     add menu separator
  443.     add menuitem "Fill"                 type 13
  444.     add menuitem "Sort"                type 10 submenu "sheet sort"
  445.     add menuitem "Table"                type 7  submenu "sheet table"
  446.     add menuitem "Distribution"    type 7  submenu "sheet distribution"
  447.     add menuitem "Database"            type 7  submenu "sheet database"
  448.     add menuitem "Matrix"            type 13 submenu "sheet matrix"
  449.  
  450. add menu "Graph" with 17 items
  451.     add menuitem "Gallery"            type 110 submenu "Gallery"
  452.     add menuitem "Title"                type 131 submenu "Title"
  453.     add menuitem "Footnote"            type 231 submenu "Footnote"
  454.     add menuitem "Legend"            type 187 submenu "Legend"
  455.     add menuitem "Axes"                type 146 submenu "Axes"
  456.     add menuitem "Series"            type 155 submenu "Series"
  457.     add menuitem "3D Info"            type 164 submenu "Info3D"
  458.     add menuitem "General"            type 110 submenu "General"
  459.     add menu separator
  460.     add menuitem "Bring to Front"    type 182
  461.     add menuitem "Send to Back"    type 182
  462.     add menu separator
  463.     add menuitem "Group"                type 183
  464.     add menuitem "Ungroup"            type 184
  465.     add menu separator
  466.     add menuitem "Lock Object" type 202
  467.     add menuitem "Unlock Object" type 203
  468.  
  469. add menu "Script" with 11 items
  470.     add menuitem "New Script"            type 201 command "@New Script """""
  471.     add menuitem "Open Script..."        type 201 command "@open script dialog"
  472.     add menu separator
  473.     add menuitem "Get Script..."        type 201 command "@get script dialog"
  474.     add menuitem "Remove Script"        type 194 submenu "remove script"
  475.     add menu separator
  476.     add menuitem "Attach Script..."    type 89 command "@attach script dialog"
  477.     add menuitem "Run Script..."        type 201 command "@run script dialog"
  478.     add menu separator
  479.     add menuitem "Learn"                 type 90 command "@learn on", "@learn off"
  480.     add menuitem "Compile"                type 91 command "@compile"
  481.     add menuitem "Run"                    type 91 command "@Run """""
  482.     add menu separator
  483.     add menuitem "a"                         type 92 command "@Edit Script"
  484.  
  485. add window menu "Window" with 8 items
  486.     add menuitem "Help Window"            type 190 command "+@help ""WngzHelp"""
  487.     add menuitem "New Window"            type 7 command "New Window"
  488.     add menuitem "Arrange Windows"    type 186 command "+Arrange Windows"
  489.     add menuitem "Set Titles"            type 13 command "Titles"
  490.     add menu separator
  491.     add menuitem "Scale"                    type 7 submenu "window scale"
  492.     add menuitem "Show"                    type 7 submenu "window show"
  493.     add menuitem "Column Heading"        type 7 submenu "window column heading"
  494.  
  495. show menubar "main"
  496. DG:findtype = 1
  497. DG:findstr = ""
  498. DG:edtype = 1
  499. DG:edfind = ""
  500. DG:edrep = ""
  501. repaint on
  502. break on
  503.  
  504. if file("PMDG")
  505.     get script "PMDG"
  506. end if
  507.  
  508. if file("Startup")
  509.     run script "Startup"
  510. end if
  511.